<%@ page import="model.Student" %><%--
  Author: LZN
  Date: 2023/3/12 0012 21:41
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<link rel="stylesheet" type="text/css" href="bootstrap-3.3.7-dist/css/bootstrap.css">
<script type="text/javascript" src="jquery-3.2.1/jquery-3.2.1.js"></script>
<script type="text/javascript" src="bootstrap-3.3.7-dist/js/bootstrap.js"></script>
<html>
<head>
    <title>Title</title>
</head>
<body background="img/add.jpg">
<center>
    <form action="AddStudentServlet" method="post" style="align-content: center">
        <h2 align="center" style="margin: 50px 80px; color: salmon; font-family: cursive;">添加学生信息</h2>
        <table border="1">
            <tr>
                <td>学生学号:</td>
                <td><input type="text" name="studentNo" placeholder="请输入学号->不可重复"/></td>
            </tr>
            <tr>
                <td>姓名:</td>
                <td><input type="text" name="name" placeholder="请输入姓名"/></td>
            </tr>
            <tr>
                <td>性别:</td>
                <td><input type="text" name="sex" placeholder="请输入性别"/></td>
                <%--                <td><input type="radio" name="sex" checked>男<input type="radio" name="sex">女</td>--%>
            </tr>
            <tr>
                <td>年龄:</td>
                <td><input type="text" name="age" placeholder="请输入年龄"/></td>
            </tr>
            <tr>
                <td>班级:</td>
                <td><input type="text" name="banji" placeholder="请输入班级"/></td>
            </tr>
            <tr>
                <td>出生日期:</td>
                <td style="width: 100px"><input type="date" name="bornDate" placeholder="请输入出生日期"/></td>
            </tr>
            <tr>
                <td>电话:</td>
                <td><input type="text" name="phone" placeholder="请输入电话"/></td>
            </tr>
            <tr>
                <td>专业:</td>
                <td><input type="text" name="major" placeholder="请输入专业"/></td>
            </tr>
            <tr>
                <td>院系:</td>
                <td><input type="text" name="faculty" placeholder="请输入院系"/></td>
            </tr>
            <tr>
                <td>地址:</td>
                <td><input type="text" name="address" placeholder="请输入地址"/></td>
            </tr>
        </table>
        <br><br>
        <center>
            <div class="providerAddBtn">
                <input type="submit" value="添加" class="btn btn-primary"/>
                <input type="button" value="返回" class="btn btn-primary" onclick="history.back(-1)"/>
            </div>
        </center>
    </form>
</center>
</body>
</html>
